You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Dew.Stats.Units Namespace > Classes > StatRandom Class > StatRandom Methods > StatRandom.RandomF Method
Dew Stats for .NET
ContentsIndexHome
PreviousUpNext
StatRandom.RandomF Method

F distribution random generator.

Syntax
C#
Visual Basic
public static void RandomF([In] int ANu1, [In] int ANu2, [In] TDenseMtxVec Results, [In] int Seed);

This routine generates Result.Length pseudo random numbers, using the F distribution with parameters ANu1 and ANu2. The random numbers are stored in the Results vector. An exception is raised if Result vector is complex.

Generate 2000 random numbers by using the F distribution with parameters Nu1=2 and Nu2=5.

using Dew.Math; using Dew.Stats.Units; namespace Dew.Examples { private void Example() { Vector r = new Vector(2000,false); StatRandom.RandomF(2, 5, r, -1); } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!